package cc.lucien.mybatis.repository;

import cc.lucien.entity.User;

import java.util.List;

/**
 * @author lucien-ma
 * @date 2021/9/13
 * @apiNote
 */
public interface UserRepository {
    List<User> findAll();
    User findById(Integer id);
    int save(User user);
    int update(User user);
    int deleteById(Integer id);
}
